package com.yupi.usercenter.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yupi.usercenter.mapper.FriendRelationMapper;
import com.yupi.usercenter.model.domain.FriendRelation;
import com.yupi.usercenter.service.FriendRelationService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 20654
* @description 针对表【friend_relation(好友关系表)】的数据库操作Service实现
* @createDate 2025-08-11 23:18:22
*/
@Service
public class FriendRelationServiceImpl extends ServiceImpl<FriendRelationMapper, FriendRelation>
    implements FriendRelationService {

    @Override
    public List<FriendRelation> selectFriends(Long userId, String relationStatus) {
        return baseMapper.selectFriends(userId, relationStatus);
    }
}




